import 'package:client_flutter_door/utils/log.dart';
// import 'package:client_flutter_door/vars.dart';
// import 'package:flutter/material.dart';

class Info {
  //操作提示
  static snackbar(message, context) {
    Log.setLog(message);
    // final snackBar = SnackBar(
    //   content: Text(message),
    // );
    // ScaffoldMessenger.of(context).showSnackBar(snackBar);
  }

  static snackbarWithoutContext(message) {
    Log.setLog(message);
    //   final snackBar = SnackBar(
    //     content: Text(message),
    //   );
    //   ScaffoldMessenger.of(Vars.scaffoldKey.currentState!.context)
    //       .showSnackBar(snackBar);
  }
}
